export type UserLoginType = {
  username: string
  password: string
}

export type UserLoginModel = {
  LoginName: string
  Password: string
  VerCode: string
}
export type UserLoginResult = {
  AccreditId: string
}
export type SubSystemModel = {
  Id: string
  Name: string
  Icon: string
  Home: HomeSet
  LoginRouteName: string
}
export type HomeSet = {
  Name: string
  Params: object
}
export type UserInfo = {
  CurSubSysId: string | null
  CompanyId: string | null
  SubSystem: Array<SubSystemModel>
  Routes: object
  Company: object
  Power: object
  Datum: UserDatum
}
export type UserDatum = {
  CompanyI?: string
  EmpId?: string
  EmpName?: string
  HeadUri?: string
  UnitDept?: string
  DeptId?: string
  UnitId?: string
}
